net/http.http2stream.body (field)
11 uses
net/http (current package)
h2_bundle.go#L4726: body *http2pipe // non-nil if expecting DATA frames
h2_bundle.go#L5793: if p := st.body; p != nil {
h2_bundle.go#L5948: if st.body == nil {
h2_bundle.go#L5959: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L5973: wrote, err := st.body.Write(data)
h2_bundle.go#L6027: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L6030: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
h2_bundle.go#L6031: st.body.CloseWithError(io.EOF)
h2_bundle.go#L6050: if st.body != nil {
h2_bundle.go#L6053: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
h2_bundle.go#L6152: st.body = req.Body.(*http2requestBody).pipe // may be nil
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)